package com.parking.mgr.useraccount.facede;

import com.parking.mgr.useraccount.service.BasicMenuService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName BasicMenuServiceFacede
 * @Description 菜单service 外观模式
 * @Auther: zhijianpu
 * @Date: 2023/6/12
 */
@Component
public class BasicMenuServiceFacede {

    @Resource
    private BasicMenuService basicMenuService;

    /**
     * 根据所属角色功能菜单ID获取菜单URL
     *
     * @param roleMenuIds
     * @return
     */
    public List<String> getMenuUrlByMenuIds(List<String> roleMenuIds) {
        return basicMenuService.getMenuUrlByMenuIds(roleMenuIds);
    }

}
